package com.csun.cmny.provider.model.dto.revise;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-09-10 11:16
 * @Description: the class revise query dto
 */
@Data
public class ReviseQueryDto extends BaseQuery {

    /**
     * 调房调级Id
     */
    private Long reviseId;

    /**
     * 机构Id
     */
    private Long groupId;

    /**
     * 班组Id
     */
    private Long nursingGroupId;

    /**
     * 班组Id集合
     */
    private List<Long> nursingGroupIdList;

    /**
     * 老人Id
     */
    private Long oldmanId;

    /**
     * 老人姓名
     */
    private String oldmanName;

    /**
     * 老人身份证
     */
    private String idCard;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 状态集合
     */
    private List<Integer> states;

    /**
     * 订单日期-查询开始
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startQueryTime;

    /**
     * 订单日期-查询结束
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endQueryTime;

}
